package com.jj.message;

import com.jj.net.Message;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Copyrights: QidianGroup@JJ
 *
 * @author: LuHan
 * @date: 2018/1/15, 10:47
 */
public abstract class AbstractMessage implements Message{
    private static Logger logger = LoggerFactory.getLogger(AbstractMessage.class);

    protected byte[] data = null;

    @Override
    public byte[] getData() {
        return data;
    }
    @Override
    public void setData(byte[] data){
        this.data = data;
    }
}
